﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WebCrawlerLib;

namespace QuartzTH
{
    public class ExecJob
    {
        public static void DoExecJob()
        {
            try
            {
                var directoryName = ConfigurationManager.AppSettings["BingWallPaperJob_DirectoryName"];
                BingWallPaperService service = new BingWallPaperService(directoryName);
                service.Start();
            }
            catch (Exception)
            {

                throw;
            }
        }
    }
}
